package com.ruoyi.cms.mapper;

import com.ruoyi.cms.domain.TbGoods;
import com.ruoyi.cms.domain.TbGoodsDesc;
import com.ruoyi.cms.domain.TbItem;
import org.apache.ibatis.annotations.Mapper;

import java.util.Date;
import java.util.List;
import java.util.Map;

@Mapper
public interface TbGoodsMapper {

    void saveGoods(TbGoods goods);

    void saveGoodsDesc(TbGoodsDesc goodsDesc);

    void saveItems(List<TbItem> items);

    List<Map> listAllItem();

    List<Map> listByTime(Date date);
}
